package com.space.entity;

/**
 * @author : 港某
 * @date : 2020/2/16 11:02
 */
public class Expense {
    private int expenseId;
    private User expenseUser;
    private Flight expenseFlight;

    public Expense() {
    }

    public Expense(int expenseId, User expenseUSer, Flight expenseFlight) {
        this.expenseId = expenseId;
        this.expenseUser = expenseUSer;
        this.expenseFlight = expenseFlight;
    }

    public int getExpenseId() {
        return expenseId;
    }

    public void setExpenseId(int expenseId) {
        this.expenseId = expenseId;
    }

    public User getExpenseUSer() {
        return expenseUser;
    }

    public void setExpenseUSer(User expenseUSer) {
        this.expenseUser = expenseUSer;
    }

    public Flight getExpenseFlight() {
        return expenseFlight;
    }

    public void setExpenseFlight(Flight expenseFlight) {
        this.expenseFlight = expenseFlight;
    }

    @Override
    public String toString() {
        return "Expense{" +
                "expenseId=" + expenseId +
                ", expenseUSer=" + expenseUser +
                ", expenseFlight=" + expenseFlight +
                '}';
    }
}
